//
//  DealInfoView.h
//  IphoneMapSdkDemo
//
//  Created by huck on 2017/5/22.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <BaiduMapAPI_Map/BMKMapView.h>//只引入所需的单个头文件
@interface DealInfoView : UIView

@property (copy, nonatomic) NSString *waterId; //水体id
@property (copy, nonatomic) NSString *recordId; //(巡查id)新增巡查为空, 整改不为空
@property(nonatomic) CLLocationCoordinate2D myLocatoin;//我的定位

@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
//head
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *headViewH; //头部总高度
//head-add
@property (weak, nonatomic) IBOutlet UIView *addHeadView;
@property (weak, nonatomic) IBOutlet UILabel *addWaterNameLabel;
@property (weak, nonatomic) IBOutlet UIView *addSuperviseView;
@property (weak, nonatomic) IBOutlet UITextField *addSuperviseField;
//head-deal
@property (weak, nonatomic) IBOutlet UIView *dealHeadView;
@property (weak, nonatomic) IBOutlet UILabel *dealWaterNameLable;
@property (weak, nonatomic) IBOutlet UILabel *dealRecordDayLabel;

@property (weak, nonatomic) IBOutlet UILabel *dealPersonLabel;
@property (weak, nonatomic) IBOutlet UILabel *dealSuperviseLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *superLabelBottom;

//一点一策
@property (weak, nonatomic) IBOutlet UIView *badReasonView; //整体
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *badReasonViewH;//整体高度
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *badTitleH;
@property (weak, nonatomic) IBOutlet UIView *reasonContainner;//内容部分容器

//整改反馈意见
@property (weak, nonatomic) IBOutlet UIView *dealResultView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *dealResultViewH;
@property (weak, nonatomic) IBOutlet UIView *dealRewardView;
@property (weak, nonatomic) IBOutlet UITextField *dealRewardField;

//巡查照片
@property (weak, nonatomic) IBOutlet UIView *addPicView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *addPicViewH;
@property (weak, nonatomic) IBOutlet UIView *addPicContainerView;

//整改照片
@property (weak, nonatomic) IBOutlet UIView *dealPicView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *dealPicViewH;
@property (weak, nonatomic) IBOutlet UIView *dealPicContainerView;

+ (instancetype)initViewWithFrameView:(UIView *)view delegate:(id<UITextFieldDelegate>)delegate;


-(void)updateInfo;

//拍照图片返回
- (void)didFinishCropperImage:(UIImage *)image;

//导航按钮点击
- (IBAction)mapGuideBtnClick:(UIButton *)sender;

//取消
- (IBAction)cancelBtnClick:(UIButton *)sender;

//提交
- (IBAction)submitBtnClick:(UIButton *)sender;

@end
